import request from '@/http';

interface RequestResult {
  success: boolean;
  message: string;
}

export default class adminService {
  static async doLogin(data: any): Promise<RequestResult> {
    const result: any = await request.post('/user/login', data);
    return result;
  }
}
export { RequestResult };
